package com.metaera.app.ui.activities;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.metaera.app.R;
import com.metaera.app.ui.core.BaseActivity;
import com.metaera.app.utils.ActivityTitleHelper;

public class MessageListActivity extends BaseActivity {

    public static Intent newInstance(Activity activity, String title){
        Intent intent = new Intent(activity, MessageListActivity.class);
        intent.putExtra("TITLE", title);
        return intent;
    }

    @Override
    protected int getContentLayoutId() {
        return R.layout.activity_message_list;
    }

    @Override
    protected void initialize(Bundle savedInstanceState) {
        ActivityTitleHelper.setTitle(this, getStringExtra("TITLE"));
    }

}
